<% layout('lanternlayout') -%><!--加载全局布局文件-->
<% block('head').append("<link rel='stylesheet' type='text/css' href='/images/activity/lantern/css/style.css' >") %>
<style>
    body{
        backgroud-color:#351740
    }
</style>
<div  ng-controller="FromYao" >
<!--<body  style=" background-color: #351740;">-->
<div id="yaoDiv">
    <img src="/images/activity/lantern/fromyaobg.png" width="100%">
    <div class="context" style="top:100px">
        <div style="padding-left: 20px;padding-right: 20px;margin-bottom: 20px;">
            <div class="sm">
                <img class="wxhead" src="<%=imgUrl%>">
                <br/>
                您的好友:<%=nickname%>
                <br/><span style="color: yellow;">向你要一个<%=reward_name%>。</span>
            </div>
        </div>
        <% if(number != 0){%>
        <div style="padding-left: 20px;padding-right: 20px;margin-bottom: 20px;" >
            <div class="sm2">
                您有<%=number%>个<%=reward_name%>！
                <a ng-click="giveToFriend('<%=reward%>','<%=reward_name%>','<%=ownuid%>')">
                    <div class="btn"><img src="/images/activity/lantern/fromyaosm2btn1.png"  width="40%"></div>
                </a>
                <div class="btn">
                    <a href="/extra/lantern/index">
                        <img src="/images/activity/lantern/jlhdbtn2.png"  width="40%">
                    </a>
                </div>
            </div>
        </div>
        <%}else{%>
        <div style="padding-left: 20px;padding-right: 20px;margin-bottom: 20px;" >
            <div class="sm2">
                您没有<%=reward_name%>！

                <div class="btn">
                    <a href="/extra/lantern/index">
                        <img src="/images/activity/lantern/jlhdbtn2.png"  width="40%">
                    </a>
                </div>
            </div>
        </div>
        <%}%>


    </div>
</div>
</div>
<table class="table2">
    <tr  valign="top">
        <td width="50%" >
            <a href="http://wxshop.guoran100.com/detail/903"><img style="width: 100%" src="/images/activity/lantern/hnqx.png"></a>
        </td>
        <td width="50%">
            <a href="http://wxshop.guoran100.com/detail/902"><img style="width: 100%" src="/images/activity/lantern/hnpl.png"></a>
        </td>
    </tr>
</table>
<img src="/images/activity/lantern/yaogz1.png" width="100%">
<img src="/images/activity/lantern/yaogz2.png" width="100%">
<% block('footer').append('<script src="'+CDN+'/extra/lantern/index.js"></script>') %>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1257556523'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/stat.php%3Fid%3D1257556523' type='text/javascript'%3E%3C/script%3E"));</script>